
.index {
    position: relative;
    padding-bottom: 80px;
    .fabIcon {
        position: fixed;
        left: 15px;
        top: 800px;
    }
    .fabIcon_advise {
        position: fixed;
        left: 15px;
        top: 950px;
    }
    .at-action-sheet__footer {
        color: #666;
        font-size: 26px;
    }
    .topBox {
        width: 100%;
        height: 560px;
        overflow: hidden;
        border-bottom-left-radius: 10px;
        border-bottom-right-radius: 10px;
    }
    .topBg {
        width: 750px;
        height: 560px;
        background: url('./imgs/indexTop.png') no-repeat center;
        background-size: cover;
    }
    .middleOpcition {
        margin-top: 50px;
        width: 100%;
        box-sizing: border-box;
        padding: 0 20px;
        .addGlassBox {
            width: 100%;
            height: 200px;
            margin-bottom: 50px;
            display: flex;
            flex-direction: row;
            justify-content: left;
            align-items: center;
            align-self: center;
            box-shadow: 10rpx 4rpx 20rpx 4rpx #00122B;
            border-radius: 30px;
            .imgBox {
                width: 200px;
                height: 200px;
                box-sizing: border-box;
                padding: 20px;
                background: #eff;
                border-radius: 20px;
                position: relative;
                image {
                    width: 100px;
                    height: 100px;
                    position: absolute;
                    top: 0;
                    left: 0;
                    right: 0;
                    bottom: 0;
                    margin: auto;
                }
            }
            .glassInfo {
                margin-left: 25px;
                .glassTitle {
                    font-weight: 500;
                    font-size: 34rpx;
                    color: #333333;
                }
                .glassPs {
                    font-weight: 400;
                    font-size: 24rpx;
                    color: #666666;
                    margin: 20px 0;
                }
                .glassPrice {
                    font-weight: 400;
                    font-size: 34rpx;
                    color: #FA4224;
                }
            }
            .glassAddNum {
                flex: 1;
                margin-left: 20px;
                box-sizing: border-box;
                padding-right: 20px;
                padding-top: 120px;
                display: flex;
                flex-direction: row;
                justify-content: flex-end;
            }
        }
    }
    .shoppingCartMoveDown{
        animation: shoppingCartActive2 0.3s forwards linear;
    }
    .shoppingCartMoveUp {
        animation: shoppingCartActive 0.3s forwards linear;
    }
    @keyframes shoppingCartActive {
        0% {
            transform: translateY(100px);
        }
        100% {
            transform: translateY(0px);
        }
    }
    @keyframes shoppingCartActive2 {
        0% {
            transform: translateY(0px);
        }
        100% {
            transform: translateY(100px);
        }
    }
    .shoppingCart {
        position: fixed;
        width: 100%;
        height: 100px;
        bottom: 0px;
        transform: translateY(100px);
        left: 0;
        z-index: 10;
        background: #04626C;
        border-top: 1px solid #ebebeb;
        color: #DBDBDB;
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        align-self: center;
        align-items: center;
        .leftContain {
            height: 100px;
            flex: 1;
            box-sizing: border-box;
            display: flex;
            flex-direction: row;
            justify-content: left;
            align-self: center;
            align-items: center;
            box-sizing: border-box;
            padding-left: 40px;
            .cart {
                width: 80px;
                height: 80px;
                background: url('./imgs/cart.png') no-repeat center;
                background-size: contain;
                box-sizing: border-box;
                padding-left: 60px;
                padding-top: 34px;
                position: relative;
                .glassNum {
                    width: 40px;
                    height: 40px;
                    position: absolute;
                    top: -10px;
                    right: -10px;
                    background-color: #FA4224;
                    border-radius: 20px;
                    text-align: center;
                    line-height: 40px;
                    color: #fff;
                    font-size: 30px;
                }
            }
            .goodsValue {
                margin-left: 30px;
                font-weight: 400;
                font-size: 36px;
                color: #DBDBDB;
                .specialVal {
                    font-size: 28px;
                }
            }
        }
        .rightContain {
            background-color: #ffc600;
            width: 200px;
            height: 100px;
            box-sizing: border-box;
            .at-button--primary {
                width: 200px;
                height: 100px;
                line-height: 100px;
                box-sizing: border-box;
                border-radius: 0;
                border: none;

            }
        }
    }
}
